#include <iostream>

int main()
{
  int a = 5;
  int b = 10;

  int& ref = a;

  std::cerr << "ref = " << ref << std::endl;

  ref = b;

  std::cerr << "ref = " << ref << std::endl;
}
